{% extends "base_16_8.html" %}

{% block title %}
{{ master.title }}
{% endblock %}

{% block h1 %}
{{ master.title }}
</a>
{% endblock %}

<!-- left -->
{% block left %}
<div class="grid_15 alpha omega">
    <div class="grid_3 alpha">
        <a class="publish" href="{{ master.get_absolute_url }}post/create/">╋ 发 帖 子</a>
    </div>
    <div class="clear"></div><br>
    
    <div class="gray gird_15 alpha omega">
        <div class="grid_2 alpha">作者</div>
        <div class="grid_12">帖子</div>
        <div class="grid_1 omega">回应</div>
    </div>
    <div class="bar grid_15 alpha omega"></div>
    
    {% for post in postlist.object_list %}
    <div class="postlist grid_15 alpha omega">
        <div class="grid_2 alpha">
            <a href="/people/{{ post.author.username }}/">
                <img src="{{ post.author.userpic.spic }}" alt="没有头像" title="进入TA的主页">&nbsp;</a>
        </div>
        <div class="grid_12">
            
            <a href="/post/{{ post.id }}/">{{ post.title }}</a></span>
            <div class="clear"></div>
            <div class="quote"><span class="inqgray">{{ post.content|cut:"75" }}</span></div>
            <br>
            <div class="grid_3 push_9 alpha">{{ post.updatedtime|date:"Y-m-d: G:i"}}</div>
        </div>
        <div class="grid_1 omega">&nbsp;&nbsp;{{ post.commentcount }}</div>
        
    </div>
    <div class="clear"></div>
    <div class="bar grid_13 push_2 alpha omega"></div>
    {% endfor %}
    <div class="clear"></div><br>
    
    <div style="text-align:center" class="grid_13 alpha omega" >
    {% with postlist as list %}
        {% include "tool/pagenator.html" %}
    {% endwith %}
    </div>
    
    <div class="clear"></div> <br>

</div>

{% endblock %}<!-- left -->
    
    
    
{% block right %}
{% include "activity/sideinfo.html" %}
{% endblock %}<!-- right -->
